﻿using System;
using Microsoft.VisualStudio.TestTools.UnitTesting;
using Warranty.Provider;

namespace Warranty.Test
{
    [TestClass]
    public class DealerProviderTest : TestBase
    {
        [TestMethod]
        public void AddSuccess()
        { 
            var Update = Provider.Dealers.RetrieveDealer("EASV0100", "PICO_000000000000540", new DateTime(2013, 7, 29));

            Update.CfmFlag = "Y";
            var result = Provider.Dealers.Update(Update);
            Assert.IsTrue(result);
            //26-JUL-13
        }
    }
}
